/**
 * Copyright 2018 orivil.com. All rights reserved.
 * Use of this source code is governed by a MIT-style
 * license that can be found at https://mit-license.org.
 */

package n_spider

import "errors"

var ErrTaskExist = errors.New("task already exist")

type Task struct {
	PtID    int   // 平台ID
	StartID int   // 起始图书ID
	EndID   int   // 结束图书ID
	IDs     []int // 指定图书ID
	Cover   bool  // 是否覆盖下载
}
